#include<stdio.h>
int fac(int n)
{
	if (n == 1)return 1;
	return n * fac(n - 1);
}
int main()
{
	int n;
	while (scanf("%d", &n) != EOF)
	{
		if (n <= 0 || n > 12)printf("shuruwuxiao!\n");
		else printf("%d\n", fac(n));
	}
	return 0;
}